<template>
    <div>
        <tab-bar>
            <tab-bar-item path="/home">
                <div slot="item-text">主页</div>
                <img slot="item-icon" src="~assets/images/tabbar/home.svg" alt="">
                <img slot="item-icon-active" src="~assets/images/tabbar/home_active.svg" alt="">
            </tab-bar-item>
            <tab-bar-item path="/category">
                <div slot="item-text">分类</div>
                <img slot="item-icon" src="~assets/images/tabbar/category.svg" alt="">
                <img slot="item-icon-active" src="~assets/images/tabbar/category_active.svg" alt="">
            </tab-bar-item>
            <tab-bar-item path="/cart">
                <div slot="item-text">购物车</div>
                <img slot="item-icon" src="~assets/images/tabbar/shopcart.svg" alt="">
                <img slot="item-icon-active" src="~/assets/images/tabbar/shopcart_active.svg" alt="">
            </tab-bar-item>
            <tab-bar-item path="/profile">
                <div slot="item-text">我的</div>
                <img slot="item-icon" src="~assets/images/tabbar/profile.svg" alt="">
                <img slot="item-icon-active" src="~assets/images/tabbar/profile_active.svg" alt="">
            </tab-bar-item>
        </tab-bar>
    </div>
    
</template>

<script>
import TabBar from '../../common/Tabber/Tabber'
import TabBarItem from '../../common/Tabber/TabItem'
export default {
    components:{
        TabBar,
        TabBarItem
    }
};
</script>

<style lang="less" scoped>

    
        img{
           height: 24px;
           width: 24px;
       }
        
    


</style>

